package com.smart.campus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smart.campus.dto.ShTeachers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.dao
 * @Author: JinBao shan
 * @date 2024/9/23 20:32
 * @Description: TODO
 * @Version: 1.0
 */

@Mapper
public interface ShTeachersMapper extends BaseMapper<ShTeachers> {
    IPage<ShTeachers> findShTeachersPagination(Page<ShTeachers> page,@Param(value = "teachers") ShTeachers teachers);

    ShTeachers getShTeachersById(@Param(value = "teacher") ShTeachers teachers);
}
